<template>
    <el-pagination layout="total, prev, pager, next, jumper" @current-change="currentChangeHandle"
        :current-page="pageNum" :page-size="pageSize"  :total="totalSize">
    </el-pagination>
</template>
<script lang="ts" setup>
const props = defineProps({
    pageNum: Number,
    pageSize: Number,
    totalSize: Number
});
const emit = defineEmits(['currentChange']);
const currentChangeHandle = (pageNum:any) => {
    emit('currentChange', pageNum);
}
</script>
<style scoped lang="scss"></style>